home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus 1996 #1
/
Amiga Plus CD - 1996 - No. 1.iso
/
pd
/
grafik
/
kaleidoscope
/
readme.doc
< prev
next >
Wrap
Text File
|
1993-03-08
|
2KB
|
58 lines
Monday 9th October 1995
© JIPsoft
Kaleidoscope
------------
This program generates pretty pictures. To generate a picture it needs a file
for a source. The file can be of any format, but it must be at least 25 bytes
long. The resulting picture can then be saved as an IFF file.
I will now explain the actual algorithm. First the program uses the source
file's first 24 bytes for colour values for its 16 colour registers. They are
read thus:
Byte 0 Byte 1 Byte 2
012345670123456701234567
|----------||----------|
\/ \/
Colour 0 Colour 1
Then the program uses the remaining bytes as the main picture data. It
creates one triangular pattern of 8256 pixels, like so:
******** Row 0 (128 pixels)
*******
****** ...
*****
**** ...
***
**
* Row 127 (1 pixel)
And then it copies the pattern seven times to form an eight-way mirror image
on the screen. Each byte contains the colour value for two pixels - the first
uses the upper nibble, the second uses the lower nibble.
The resulting picture can be saved as an IFF file. Its format is PAL Lo-Res,
16 colours, no overscan. This program won't be much fun on NTSC systems, but I
think it may still work.
This program was coded by me, JIPsoft alias Joona Palaste, on the 9th of
October 1995, in about half an hour. It was programmed and compiled in AMOS. No
other software was involved.
This program is FREEWARE, but all my main games are SHAREWARE. To get them,
either visit AmiNet or write to me:
Joona Palaste
Toppelundintie 3B 19
02170 Espoo
Finland
Or E-Mail: jopalast@freenet.hut.fi / jpalaste@freenet.hut.fi
At least one of these E-Mail addresses should work, so try both.
If you write me a letter or send me an E-Mail, I will give you all my games,
providing you send me a DD disk (doesn't have to be formatted) and a donation
of at least £1 / 7 FIM. There are about half a dozen games in total.
Adios Amiga Amigos,
Joona Palaste.